:root {
  --error: #991632;
  --success: #2e7d32;
}

body {
  font-family: marianne;
  max-width: 100vw;
  margin: 0;
  overflow-x: hidden;
}

h1 {
  font-size: 32px;
  font-family: marianne;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: marianne;
}

h3 {
  font-size: 20px;
  font-family: marianne;
}

h4 {
  color: black;
  font-family: marianne;
}

p {
  font-size: 16px;
  font-family: marianne;
}

textarea {
  width: 100%;
  font-size: 14px;
  padding: 8px;
  box-sizing: border-box;
  margin: 10px 0px;
  border: solid 1px lightgray;
  overflow: hidden;
  min-height: 36px;
  font-family: marianne;
  height: 100%;
}

/* Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 8px;
  padding-right: 30px;
  font-size: 14px;
  border: 1px solid #aaa;
  box-sizing: border-box;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 2px lightgrey;
  font-family: marianne;
}

.iconselect {
  position: absolute;
  color: black;
  pointer-events: none;
  right: 0px;
  top: 4px;
}

.iconselectprofil {
  position: absolute;
  color: black;
  pointer-events: none;
  right: 0px;
  top: 8px;
}

.selectrelative {
  position: relative;
}

/* Fin select */

/* Header */
#header {
  background-color: black;
  color: white;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  min-height: 7.5vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}

#accountname {
  margin-right: 40px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.logo {
  height: 100%;
  width: 200px;
  margin-left: 20px;
}

.settings {
  width: 24px;
  cursor: pointer;
}

.lock {
  font-size: 40px !important;
  font-weight: bold !important;
}

#login {
  display: none;
  align-items: center;
  gap: 10px;
  background-color: white;
  padding: 5px 10px;
  margin-right: 40px;
}

.forgotmdp {
  color: grey;
  font-style: italic;
  font-size: 12px;
  background-color: white;
  border: none;
  font-family: marianne;
}

.eye {
  color: black;
  padding: 5px;
}

.eyeoff {
  display: none !important;
}

.mdp {
  border: none !important;
  width: 125px;
}

.mdpdiv {
  border: solid 1px grey;
  height: 32px;
  display: flex;
  align-items: center;
}

.arrowsandlogo {
  display: flex;
  align-items: center;
}

.arrows {
  width: 44px;
  padding: 20px !important;
  cursor: pointer;
}

/* Fin header*/

/* Menu gauche */
nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menugauche {
  background-color: black;
  color: white;
  width: 18vw;
  height: 100%;
  display: none;
  padding: 100px 20px 20px 20px;
  gap: 10px;
  flex-direction: column;
  position: fixed;
  z-index: 10;
}

.menugauche a {
  color: white;
  text-decoration: none;
}

.menugaucheitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  cursor: pointer;
}

.menugauchesubitem {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-left: 44px;
  cursor: pointer;
  margin-top: 15px;
  font-weight: bold;
}

.itemgauche {
  display: flex;
  align-items: center;
}

.icone {
  width: 24px;
  font-size: 32px !important;
}

/* Fin Menu gauche */

/* Pied de page */
.footer {
  background-color: black;
  color: white;
  min-height: 20vh;
  padding: 20px 10vw;
}

.menu,
.logopublication {
  padding: 10px;
  min-width: 20%;
}

.logopublication {
  display: flex;
  justify-content: flex-end;
}

.menu a,
.logopublication a,
.footer a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footercookies {
  background: rgba(61, 66, 66, 0.6);
  z-index: 100;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 80vw;
  padding: 2vh 10vw;
  text-align: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

/*Fin pied de page */

/* Le coeur de la page */
.pageheart {
  width: 100vw;
  min-height: 80vh;
  display: flex;
}

.pagepoumondroit {
  width: 80vw;
  margin: 10vh 10vw 5vh 10vw;
}

.content {
  display: flex;
  flex-direction: row;
  margin-top: 100px;
}

/* Fin coeur de page */

/* Inputs text et password */
input[type="text"],
input[type="password"] {
  padding: 5px;
  height: 22px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 2px lightgrey;
  font-family: marianne;
}

input[type="text"]:disabled {
  background-color: white;
}

/* Fin input text et password */

/* Input checkbox */
/* input[type="checkbox"]+label {
  content: '✔';
  color: #003B08;
}

input[type="checkbox"]:checked+label {
  content: '✔';
  color: #003B08;
} */

.checkboxgrilleparent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 5px;
  font-weight: normal;
}

.checkboxgrille {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
}

.col2 {
  width: 50%;
}

.col3 {
  width: 33%;
}

.col4 {
  width: 25%;
}

/* Fin input checkbox */

/* Input color */
input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  padding: 0;
  width: 24px;
}

/* Fin input color */

/* Input radio */
.radio input[type="radio"] {
  display: none;
}

.radio label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 100;
}

.radio label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 16px;
  background: #ccc;
  border-radius: 16px;
  transition: background 0.3s ease;
}

.red label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 16px;
  background: #ccc;
  border-radius: 16px;
  transition: background 0.3s ease;
  border: 1px solid #991632;
}

.radio label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #991632;
  border-radius: 50%;
  transition: left 0.3s ease;
  border: 1px solid #991632;
}

.red label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  transition: left 0.3s ease;
  border: 1px solid #991632;
}

.bold {
  font-weight: bold;
}

.boldicon {
  font-weight: bold !important;
}

#presentation:checked+label::before,
#typesdp:checked+label::before,
#pluriel:checked+label::before,
#demandepresse:checked+label::before,
#sdpfusion:checked+label::before,
#sdpurlperso:checked+label::before,
#sdpurl:checked+label::before {
  background: #ccc;
}

#presentation:checked+label::after,
#typesdp:checked+label::after,
#pluriel:checked+label::after,
#demandepresse:checked+label::after,
#sdpfusion:checked+label::after,
#sdpurlperso:checked+label::after,
#sdpurl:checked+label::after {
  left: 14px;
}

.spresentation {
  font-size: 14px;
}

.apresentation {
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
}

#labelpresentation {
  text-decoration: underline;
}

.radiosee {
  border-radius: 10px;
  background-color: #ccc;
  width: 35px;
  height: 18px;
}

.radioseeleft {
  background-color: #991632;
  border-radius: 100%;
  height: 14px;
  width: 14px;
  position: relative;
  top: 2px;
  left: 2px;
}

.radioseeright {
  background-color: #991632;
  border-radius: 100%;
  height: 14px;
  width: 14px;
  position: relative;
  top: 2px;
  left: 18px;
}

.radioredtext {
  color: #991632;
  font-size: 14px;
  font-weight: 100;
}

/* Fin input radio */

/* Les boutons */
.boutonprin {
  color: white;
  border: solid 1px black;
  background-color: black;
  padding: 10px;
  width: fit-content;
  font-size: 16px;
  height: fit-content;
  font-family: marianne;
  cursor: pointer;
}

.boutonsec {
  color: black;
  border: solid 1px black;
  background-color: white;
  padding: 10px;
  margin-left: 5px;
  width: fit-content;
  font-size: 16px;
  height: fit-content;
  font-family: marianne;
  cursor: pointer;
}

.w70 {
  width: 70px;
}

.boutonprin a,
.boutonsec a {
  text-decoration: none;
  color: white;
}

.redbouton {
  background-color: white;
  border-color: #991632;
  color: #991632;
}

/* Fin bouton */

/* Blocks pour pouvoir organiser une page */
.leftblock {
  display: flex;
  justify-content: flex-start;
  padding: 10px 0;
  flex-wrap: wrap;
}

.rightblock {
  display: flex;
  justify-content: flex-end;
  padding: 10px 0;
  flex-wrap: wrap;
}

.doubleblock {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: wrap;
}

/* Fin blocks */

/* Les onglets */
.onglets {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.onglet {
  padding: 8px;
  margin: 0px 3px;
  background: rgb(230, 230, 230);
  border: 1px solid rgb(230, 230, 230);
  cursor: pointer;
}

.onglet:hover {
  background: white;
  border: 1px solid rgb(230, 230, 230);
  border-bottom: none;
}

.ongletselection {
  height: 23px;
  position: relative;
  top: 1px;
  background-color: white;
  padding: 8px;
  margin: 0px 3px;
  border-top: solid 2px black;
  border-right: solid 1px rgb(230, 230, 230);
  border-left: solid 1px rgb(230, 230, 230);
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.ongletcontact {
  padding: 8px;
  margin: 1px;
  background: black;
  color: white;
}

.ongletrecherche {
  width: 31%;
  border-bottom: solid 1px lightgray;
  padding: 10px;
  font-weight:bold;
}

.bigonglet{
  font-size:24px;
}


/* Fin onglets */

/* Drag and drop */
.drop-zone {
  display: flex;
  border: 1px solid lightgray;
  padding: 30px;
  text-align: center;
  font-family: sans-serif;
  transition: background-color 0.3s;
  cursor: pointer;
  color: gray;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}

.drop-zone.dragover {
  background-color: #eef;
  border-color: #333;
  color: #000;
}

input[type="file"] {
  display: none;
}

/*Fin drag and drop */

/* Profil */
.profilselect {
  height: 44px;
}

.halfcolumndest {
  width: 40%;
}

.trashdest {
  cursor: pointer;
}

.selectprofil {
  font-size: 20px;
}

.profilmail {
  gap: 20px;
  display: flex;
  flex-direction: column;
  margin-left: 35px;
}

.profilmail2 {
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.profillogo {
  max-width: 100%;
  height: auto;
}

.nowrap {
  flex-wrap: nowrap !important;
}

.imgfile {
  max-width: calc(100% - 108px);
}

/* Fin profil */

.fullcolumn {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.halfcolumn {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.halfcolumn svg {
  margin: 0 auto;
  cursor: pointer;
}

.nomargin {
  margin: 0;
}

.m5b {
  margin-bottom: 5px;
}

.m10 {
  margin: 10px 0px;
}

.m10b {
  margin-bottom: 10px;
}

.m15t {
  margin-top: 15px;
}

.m15b {
  margin-bottom: 15px;
}

.m20 {
  margin: 20px 0px;
}

.m20t {
  margin-top: 20px;
}

.m20b {
  margin-bottom: 20px;
}

.m28t {
  margin-top: 28px;
}

.m56t {
  margin-top: 56px;
}

.m56b {
  margin-bottom: 56px;
}

.m10r {
  margin-right: 10px;
}

.m10l {
  margin-left: 10px;
}

.m23b {
  margin-bottom: 23px;
}

.m-10t {
  margin-top: -10px;
}

.m29b {
  margin-bottom: 29px;
}

.m30b {
  margin-bottom: 30px;
}

.m30t {
  margin-top: 30px;
}

.m40b {
  margin-bottom: 40px;
}

.m40t {
  margin-top: 40px;
}

.p45b {
  padding-bottom: 45px;
}

.gap60 {
  gap: 60px;
}

.erreurs {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  background-color: #991632;
  padding: 40px;
  text-align: center;
}

.mainerror {
  font-weight: bold;
}

.grayborder {
  border: solid 1px lightgray;
  padding: 28px 10px;
}

.marginunder {
  margin-bottom: 20px;
}

.colonnecomp {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.colonnedemi {
  width: 50%;
  max-width: 100%;
}

.center {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.centerdiv {
  display: flex;
  align-items: center;
  text-align: center;
}

.hidden {
  display: none !important;
}

.input {
  display: flex;
  align-items: center;
  padding: 5px;
}

.gap10 {
  gap: 10px;
}

.nogap {
  gap: 0px !important;
}

.cpville {
  display: flex;
  gap: 10px;
}

.cp {
  width: 20%;
}

.ville {
  width: 80%;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.picsize32 {
  height: 32px;
  width: 32px;
}

.picsize44 {
  height: 44px;
  width: 44px;
}

.logoname {
  margin-left: 25px;
}

.imgdescription {
  float: left;
  padding: 0px 10px 10px 0px;
  width: 100px;
  height: 100px;
}

.imgetlink {
  display: flex;
  flex-direction: row;
  margin: 10px 0px;
}

.webicon {
  width: 32px;
  height: 32px;
}

.uploadzone {
  border: solid 1px lightgray;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.maxwidth,
.fullwidth {
  width: -webkit-fill-available;
}

.hcenter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #991632;
}

.police {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.signature {
  margin-bottom: 10px;
}

.badgenoimage {
  background-color: rgb(230, 230, 230);
  padding: 5px;
  color: black;
  border-radius: 4px;
}

.badge {
  background-color: rgb(230, 230, 230);
  padding: 5px;
  color: black;
  border-radius: 4px;
  width: fit-content;
  font-weight: normal;
}

.placeholder {
  color: gray;
  font-size: 13px;
}

.textepardefaut {
  font-size: 13px;
}

.verticalcenter {
  align-items: center;
}

.titres {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 20px 0px;
}

.inputtitre {
  width: 47%;
}

/* Déconnexion */
.settingsdiv {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  position: fixed;
  top: 88px;
  width: 100%;
}

.settingsmenu {
  background-color: black;
  color: white;
  width: 25%;
  padding: 30px;
}

.settingsmenu a {
  text-decoration: none;
}

.settingsmenu button {
  cursor: pointer;
}

.settingsform {
  display: block !important;
}

/* Fin déconnexion */

/* Page principale */
.mainpageimg {
  width: 100vw;
}

/* Fin page principale */

/* Tuile */
.tuile {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border: solid 1px black;
  border-bottom: solid 4px black;
  align-items: center;
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.tuile:hover {
  background-color: #ccc;
}

/* Fin Tuile */

/* Accordeon */

.accordion input[type="checkbox"] {
  display: none;
}

.accordion label,
.accordion input[type="checkbox"]+label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  margin-top: 5px;
  color: #000;
  position: relative;
}

.accordion input[type="checkbox"]:checked+label.accordion-title {
  background-color: #eee;
}



/* Par défaut : flèche bas visible, flèche haut cachée */
.accordion input[type="checkbox"]+label .chevron-up {
  display: none;
}

.accordion input[type="checkbox"]+label .chevron-down {
  display: inline;
}

/* Si checkbox cochée : flèche haut visible, flèche bas cachée */
.accordion input[type="checkbox"]:checked+label .chevron-up {
  display: inline;
}

.accordion input[type="checkbox"]:checked+label .chevron-down {
  display: none;
}


/* Contenu accordéon */
.accordion .contents {
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: none;
}

.accordion input[type="checkbox"]:checked+label+.contents {
  display: block;
}

.defaut {
  color: #991632;
  font-size: 14px;
}

.m28b {
  margin-bottom: 28px;
}

.up {
  text-transform: uppercase;
  font-size: 12px;
}

.title {
  font-weight: bold;
}

.no-padding {
  padding: 0;
}

#informationpresse,
#informationcitoyenne {
  display: flex;
  flex-direction: column;
  margin-left: 44px;
  font-size: 14px;
  font-weight: bold;
}

.circles {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 5px;
}

#circles2 {
  font-size: 6px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 50%;
}

/* #personnalisation, #basescontacts, #relationsmedias {
  margin-left: 40px;
} */

.informationpresse,
.informationcitoyenne {
  display: flex;
  justify-content: space-between;
}

.delete-button {
  color: #991632;
  border: 1px solid #991632;
}

.fs14 {
  font-size: 14px;
}

/* Points d'interrogation/tooltip */
.questionmark {
  position: relative;
}

.qm {
  cursor: pointer;
  font-weight: bold;
}

.questionmarkanswer {
  position: absolute;
  border: solid 1px lightgray;
  padding: 5px;
  left: 0.5em;
  top: 0.5em;
  background: white;
  white-space: nowrap;
  z-index: 1000;
}

/* Fin Points d'interrogation/tooltip */

.chevron {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 24px;
}

.maincontent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.halfcolumns {
  display: flex;
  flex-direction: column;
}

/* Message d'alerte */
.alert {
  display: flex;
  align-items: center;
  border: 2px solid;
  border-left: 4px solid;
  padding: 16px 16px;
  font-size: 16px;
  gap: 16px;
  background: #fff;
}

.alert-display {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.alert-info {
  border-color: #aaa;
  color: #666;
}

.alert-info strong,
.alert-success strong,
.alert-error strong {
  font-size: 20px;
}

.alert div {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

.alert span {
  margin-top: 30px;
}

.alert-success {
  border-color: var(--success);
  color: var(--success);
}

.alert-error {
  border-color: var(--error);
  color: var(--error);
}

.icon-info {
  color: #aaa;
  width: 48px;
}

.icon-success {
  color: var(--success);
  width: 48px;
}

.icon-error {
  color: var(--error);
  width: 48px;
}

/* Fin Message d'alerte */

.non-modifiable {
  pointer-events: none;
  opacity: 0.6;
}

.red {
  color: #991632;
}

select {
  color: #757579;
}

.zones-container {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
  column-gap: 2rem;
}

.zone-group {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  margin-bottom: 1rem;
}

.zone-level-1 {
  margin-left: 0;
  margin-bottom: 0.25rem;
  /*font-weight: bold;*/
  text-decoration: underline;
}

.zone-level-2 {
  margin-left: 20px;
  margin-bottom: 0.25rem;
}

.zone-level-3 {
  margin-left: 40px;
  margin-bottom: 0.25rem;
}

.mainmedia {
  border: solid 1px black;
  background-color: black;
  color:white;
  width: 400px;
  padding: 2px;
  position: relative;
  top: 35px;
  left: 20px;
}

.journalistestrouves {
  margin-left: 10px;
  color: var(--error);
}

.normalsizeicon {
  width: 20px;
}